const configs = require('../../config')
const randomString = require('../../util/noStr')
module.exports = [
  {
    url: '/login/oauth',
    method: 'get',
    request: (req, res) => {
      res.json({
        github: configs.github,
        state: randomString(36),
      })
    }
  }
]
